package com.gao.xml.jaxb.xml;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author GaoXi
 * @date 2021/8/18 10:45
 */
@Data
@XmlRootElement(name = "stu11")
public class Student {

    private String id;

    private String name;


    public Student() {
    }

    public Student(String id, String name) {
        this.id = id;
        this.name = name;
    }
}
